package com.polarrose.wsf.stereotype;

import org.springframework.beans.factory.support.BeanNameGenerator;
import org.springframework.beans.factory.support.BeanDefinitionRegistry;
import org.springframework.beans.factory.config.BeanDefinition;

public class WebServiceActionBeanNameGenerator implements BeanNameGenerator
{
    public String generateBeanName(BeanDefinition definition, BeanDefinitionRegistry registry)
    {
        return definition.getBeanClassName().replace(".", "_");
    }
}
